<#assign pojo=oneToManyPojo.getOne()>
<#assign many=oneToManyPojo.getMany()>
<#assign ones=oneToManyPojo.getOnes()>
<#assign fields=pojo.getFilterdPojoFields()>
<#assign declarationName = pojo.importType(pojo.getDeclarationName())>
<#assign declarationNameFirstLetterLower = pojo.importType(pojo.getDeclarationNameFirstLetterLower())>
<#assign realPackageAndClassPath = "${pojo.getRealPackageAndClassPath()}">
<#assign masterid = pojo.getDeclarationNameFirstLetterLower()+"Id">
import {Component, OnInit} from '@angular/core';
import {FormBuilder, Validators} from '@angular/forms';
import {BaseForm} from '../../../../base/components/BaseForm';

@Component({
  selector: 'app-${declarationNameFirstLetterLower}-form',
  templateUrl: './${declarationNameFirstLetterLower}-form.component.html',
  styles: []
})
export class ${declarationName}FormComponent extends BaseForm implements OnInit {

  constructor(private fb: FormBuilder) {
    super();
  }

  ngOnInit() {
    this.filterForm = this.fb.group({
<#assign fields=pojo.getPojoFields()>
<#foreach field in fields>
<#if field.getIsSampleField()>
      ${field.getName()}: [null],
</#if>
</#foreach>
    });
  }


}
